﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Slider.ascx.vb" Inherits="FrontEnd_Control_QuangCao_Slider" %>
<script type="text/javascript">
    $(function () {
        $(".item").first().addClass("active");
    });
</script>
<div id="Slider">
    <div class="row">
        <div class="col-md-8 pull-left">
            <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
                <!-- Indicators -->
  <%--              <ol class="carousel-indicators">
                    <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
                    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
                    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
                </ol>--%>
                <!-- Wrapper for slides -->
                <div class="carousel-inner">
                    <asp:Repeater ID="rptImage" runat="server">
                        <ItemTemplate>
                            <div class="item">
                                <asp:Image ID="imgBig" runat="server" alt="slider" />
                                <div class="carousel-caption">
                                    <asp:HyperLink ID="hplTitle" runat="server"></asp:HyperLink>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
                <!-- Controls -->
                <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
                    <span class="glyphicon glyphicon-chevron-left"></span></a>
                <a class="right carousel-control" href="#carousel-example-generic" role="button"
                    data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a>
            </div>
        </div>
        <div class="col-md-4 pull-left">
            <div class="title-box-tin">
                <span class="glyphicon glyphicon-th-large"></span>&nbsp;<a href="#">Tin nổi bật</a></div>
            <marquee class="NoiDungTinMisc" onmouseover="this.stop()" onmouseout="this.start()"
                scrollamount="1" scrolldelay="10" direction="up" width="285" height="180" style="text-align: justify">
                
                        <asp:Repeater ID="rptShow" runat="server">
                            <ItemTemplate>
                                 
                                        <img  src='<%=ResolveUrl("~/FrontEnd/images/cham.gif")%>'>&nbsp;&nbsp;
                                        <asp:HyperLink ID="hplTitle" runat="server" CssClass="tip_news_scroll"></asp:HyperLink><br>
                            </ItemTemplate>
                        </asp:Repeater>
                                                                                           
               </marquee>
        </div>
    </div>
</div>
